/// id : 1
/// prompt : ""
/// secondCategoryId : 0
/// selected : true

class PromptsModel {
  PromptsModel({
    this.id,
    this.prompt,
    this.secondCategoryId,
    this.selected = false,
  });

  PromptsModel.fromJson(dynamic json) {
    id = json['id'];
    prompt = json['prompt'];
    secondCategoryId = json['secondCategoryId'];
    selected = false;
  }

  int? id;
  String? prompt;
  int? secondCategoryId;
  bool? selected;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['prompt'] = prompt;
    map['secondCategoryId'] = secondCategoryId;
    map['selected'] = selected;
    return map;
  }
}
